<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class PolicyFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title' => '政策标题'.$this->faker->name(),
            'content' => $this->faker->randomHtml(),
            'preview' => $this->faker->imageUrl(640, 480, 'animals', true),
            'readedTimes' => $this->faker->randomNumber(4, false),
        ];
    }
}
